<?php
    /**
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/10/24
     * Time: 9:30
     */

    namespace app\api\validate;


    use think\Model;

    class University extends BaseValidate
    {
        protected $rule = [
            'university' => 'require|isNotEmpty',
            'longitude'  => 'require|isNotEmpty',
            'latitude'   => 'require|isNotEmpty',
        ];
        protected $message = [
            'university' => '大学名称不能为空',
            'longitude'  => '经度不能为空',
            'latitude'   => '纬度不能为空',
        ];

    }